import 'package:sow_app_core/sow_app_core.dart';

class UserFeedbackModel {
  final String content;
  final String createTime;

  UserFeedbackModel.fromJson(Map<String, dynamic> json)
      : content = json['content'],
        createTime = json['createTime'];

  Map<String, dynamic> toJson() =>
      {'content': content, 'createTime': createTime};

  Feedback toEntity() => Feedback(content, createTime);
}
